package com.gaogzhen.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Administrator
 * @version 1.0
 * @description 注册表单
 * @date 2022-10-31 11:04
 */
@Data
@ApiModel(value = "注册表单")
public class RegisterParam extends GeetestForm{
    /**
     * 国家编码
     */
    @ApiModelProperty(value = "国家代号")
    private String countryCode;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 用户密码
     */
    @ApiModelProperty(value = "用户密码")
    @NotBlank
    private String password;
    /**
     * 邀请码
     */
    @ApiModelProperty(value = "邀请码")
    private String invitationCode;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String validateCode;
}
